﻿using System;
using System.Runtime.Serialization;

namespace Lhz.Sc.Entity.Database
{
    [DataContract(IsReference = true)]
    public class Log : DatabaseEntity
    {
        [DataMember]
        public virtual string Ip { get; set; }

        [DataMember]
        public virtual Guid UserGuid { get; set; }

        [DataMember]
        public virtual User User { get; set; }

        [DataMember]
        public virtual DateTime InvokeDatetime { get; set; }

        [DataMember]
        public virtual DateTime CompleteDatetime { get; set; }

        [DataMember]
        public virtual string InvokeResult { get; set; }

        [DataMember]
        public virtual bool IsSuccess { get; set; }
    }
}
